/**
 * 
 */
package pt.xpand.xinx.entities;

/**
 * @author Kiko
 *
 * Represents a position on the board
 *
 */
public class Position {

	private int x;
	private int y;
	
	/**
	 * Constructor for Position.java
	 * 
	 * @param x
	 * @param y
	 */
	public Position(int x, int y) {
		this.setX(x);
		this.setY(y);
	}

	/**
	 * @param y
	 */
	public void setY(int y) {
		this.y = y;
	}

	/**
	 * @return
	 */
	public int getY() {
		return y;
	}

	/**
	 * @param x
	 */
	public void setX(int x) {
		this.x = x;
	}

	/**
	 * @return
	 */
	public int getX() {
		return x;
	}

	@Override
	public String toString() {
		return "("+x+","+y+")";
	}
	
	
	
	
}
